# coding:utf-8
module API::V2
  class Blacklists < Grape::API
    resource :blacklists do
      get do
        blacklists = Blacklist.where(is_active: true).map(&:address)
        present blacklists
      end
    end    
  end
end